import * as React from 'react';
import Progress from '../components/Progress'
import Home from './Home';


export interface AppProps {
  isOfficeInitialized: boolean
}

export interface AppState {

}

export default class App extends React.Component<AppProps, AppState> {

  render() {
    // if (!this.props.isOfficeInitialized) {
    //   return (
    //     <Progress
    //       title={'提示'}
    //       logo='assets/logo.png'
    //       message='您的word版本太低请在更高级的word中使用该加载项'
    //     />
    //   );
    // }
    return (
      <div className='ms-welcome'>
        <Home {...this.props} />
      </div>
    );
  }
}
